package com.solo.eggsolo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.solo.eggsolo.entity.SongSingerContact;
import com.solo.eggsolo.mapper.SongSingerContactMapper;
import com.solo.eggsolo.service.SongSingerContactService;

/**
 * 
 * @author acer
 *
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class SongSingerContactImpl extends BaseServiceImpl<SongSingerContact> implements SongSingerContactService {
	@Autowired
	private SongSingerContactMapper songSingerContactMapper;
	
	public List<SongSingerContact> findSongBySingId(Integer singerId){
		return songSingerContactMapper.findSongBySingId(singerId);
	}
}
